#include "Bulk_quote.h"
#include "Basket.h"

int main(void)
{
	Quote book("Six", 100);
	//Quote book;
	//???????
	Bulk_quote book1("Sen", 100, 10, 30, 0.1);
	//Bulk_quote book1("Sen", 100, 10, 0.1);
	//Disc_quote book2;

	cout << book1.print_isbn(book1) << endl;

	print_total(cout, book, 9);
	print_total(cout, book1, 20);
	print_total(cout, book1, 40);

	book.Debug(cout);
	cout << endl;
	book1.Debug(cout);
	cout << endl;
	cout << endl;

	Basket bsk;
	bsk.add_item(make_shared<Quote>("Seven", 45));
	bsk.add_item(make_shared<Quote>("Seven", 45));
	bsk.add_item(make_shared<Bulk_quote>("Eight", 66, 5, 20, .15));
	bsk.add_item(make_shared<Bulk_quote>("Eight", 66, 5, 20, .15));
	bsk.add_item(make_shared<Bulk_quote>("Eight", 66, 5, 20, .15));
	bsk.add_item(make_shared<Bulk_quote>("Eight", 66, 5, 20, .15));
	bsk.add_item(make_shared<Bulk_quote>("Eight", 66, 5, 20, .15));
	bsk.total_receipt(cout);

	return 0;
}
